package com.bootdo.lgs.lgsInterfaces.jzy.proxy;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

@XmlType(
        name = "EmergencyLevel"
)
@XmlEnum
public enum EmergencyLevel {
    @XmlEnumValue("VeryUrgen")
    VERY_URGEN("VeryUrgen"),
    @XmlEnumValue("Urgent")
    URGENT("Urgent"),
    @XmlEnumValue("Normal")
    NORMAL("Normal"),
    @XmlEnumValue("NoHurry")
    NO_HURRY("NoHurry");

    private final String value;

    private EmergencyLevel(String v) {
        this.value = v;
    }

    public String value() {
        return this.value;
    }

    public static EmergencyLevel fromValue(String v) {
        EmergencyLevel[] var1 = values();
        int var2 = var1.length;

        for(int var3 = 0; var3 < var2; ++var3) {
            EmergencyLevel c = var1[var3];
            if (c.value.equals(v)) {
                return c;
            }
        }

        throw new IllegalArgumentException(v);
    }
}
